package com.lemurian.bankdata.lite.enums;

import java.util.EnumSet;
import java.util.HashMap;
import java.util.Map;

public enum Department {
	
	PPAT(8),
	NOTARIS(9),
	KEUANGAN(10),
	NOTARIS_PPAT(11);

    private int id;
    
    private static final Map<Integer, Department> lookup = new HashMap<Integer, Department>();

    static {
        for (Department s : EnumSet.allOf(Department.class)) {
            getLookup().put(s.id(), s);
        }
    }

    public static Map<Integer, Department> getLookup() {
        return lookup;
    }

    Department(int id) {
        this.id = id;
    }

	public int id() {
        return id;
    }
	
}
